package com.jhgsys.internal.workflow.service;

import com.jhgsys.internal.workflow.entity.WorkflowApplyReviewLog;
import com.jhgsys.internal.common.entity.QueryRequest;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 流程申请审核日志 Service接口
 *
 * @author fenghaijun
 * @date 2024-07-19 13:53:34
 */
public interface IWorkflowApplyReviewLogService extends IService<WorkflowApplyReviewLog> {
    /**
     * 查询（分页）
     * @author fenghaijun
     * @date 2024-07-19 13:53:34
     * @param request QueryRequest
     * @param workflowApplyReviewLog workflowApplyReviewLog
     * @return IPage<WorkflowApplyReviewLog>
     */
    IPage<WorkflowApplyReviewLog> findWorkflowApplyReviewLogs(QueryRequest request, WorkflowApplyReviewLog workflowApplyReviewLog);

    /**
     * 查询（所有）
     * @author fenghaijun
     * @date 2024-07-19 13:53:34
     * @param workflowApplyReviewLog workflowApplyReviewLog
     * @return List<WorkflowApplyReviewLog>
     */
    List<WorkflowApplyReviewLog> findWorkflowApplyReviewLogs(WorkflowApplyReviewLog workflowApplyReviewLog);

    /**
    * 根据ID查询
    * @author fenghaijun
    * @date 2024-07-19 13:53:34
    * @param id
    * @return WorkflowApplyReviewLog
    */
    WorkflowApplyReviewLog findWorkflowApplyReviewLogById(String id);

    /**
     * 新增
     * @author fenghaijun
     * @date 2024-07-19 13:53:34
     * @param workflowApplyReviewLog workflowApplyReviewLog
     */
    void createWorkflowApplyReviewLog(WorkflowApplyReviewLog workflowApplyReviewLog);

    /**
     * 修改
     * @author fenghaijun
     * @date 2024-07-19 13:53:34
     * @param workflowApplyReviewLog workflowApplyReviewLog
     */
    void updateWorkflowApplyReviewLog(WorkflowApplyReviewLog workflowApplyReviewLog);

    /**
     * 逻辑删除
     * @author fenghaijun
     * @date 2024-07-19 13:53:34
     * @param workflowApplyReviewLog workflowApplyReviewLog
     * @param workflowApplyReviewLogIds workflowApplyReviewLogIds
     */
    void deleteWorkflowApplyReviewLog(WorkflowApplyReviewLog workflowApplyReviewLog,String workflowApplyReviewLogIds);

    /**
    * 物理删除
    * @author fenghaijun
    * @date 2024-07-19 13:53:34
    * @param workflowApplyReviewLogIds workflowApplyReviewLogIds
    */
    void physicallyDeleteWorkflowApplyReviewLog(String workflowApplyReviewLogIds);
}
